import request from '@/utils/request'

// 查询宣传员费用登记表列表
export function listExpenseRegistration(query) {
  return request({
    url: '/plasma/expenseRegistration/list',
    method: 'get',
    params: query
  })
}

// 查询宣传员费用登记表详细
export function getExpenseRegistration(序号) {
  return request({
    url: '/plasma/expenseRegistration/' + 序号,
    method: 'get'
  })
}

// 新增宣传员费用登记表
export function addExpenseRegistration(data) {
  return request({
    url: '/plasma/expenseRegistration',
    method: 'post',
    data: data
  })
}

// 修改宣传员费用登记表
export function updateExpenseRegistration(data) {
  return request({
    url: '/plasma/expenseRegistration',
    method: 'put',
    data: data
  })
}

// 删除宣传员费用登记表
export function delExpenseRegistration(序号) {
  return request({
    url: '/plasma/expenseRegistration/' + 序号,
    method: 'delete'
  })
}
